<?php /* Smarty version 2.6.25, created on 2013-03-01 05:37:05
         compiled from gy/list.htm */ ?>
<?php echo $this->_tpl_vars['bigfenlei']; ?>

<br>
<?php unset($this->_sections['fen']);
$this->_sections['fen']['name'] = 'fen';
$this->_sections['fen']['loop'] = is_array($_loop=$this->_tpl_vars['small_fenlei']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['fen']['show'] = true;
$this->_sections['fen']['max'] = $this->_sections['fen']['loop'];
$this->_sections['fen']['step'] = 1;
$this->_sections['fen']['start'] = $this->_sections['fen']['step'] > 0 ? 0 : $this->_sections['fen']['loop']-1;
if ($this->_sections['fen']['show']) {
    $this->_sections['fen']['total'] = $this->_sections['fen']['loop'];
    if ($this->_sections['fen']['total'] == 0)
        $this->_sections['fen']['show'] = false;
} else
    $this->_sections['fen']['total'] = 0;
if ($this->_sections['fen']['show']):

            for ($this->_sections['fen']['index'] = $this->_sections['fen']['start'], $this->_sections['fen']['iteration'] = 1;
                 $this->_sections['fen']['iteration'] <= $this->_sections['fen']['total'];
                 $this->_sections['fen']['index'] += $this->_sections['fen']['step'], $this->_sections['fen']['iteration']++):
$this->_sections['fen']['rownum'] = $this->_sections['fen']['iteration'];
$this->_sections['fen']['index_prev'] = $this->_sections['fen']['index'] - $this->_sections['fen']['step'];
$this->_sections['fen']['index_next'] = $this->_sections['fen']['index'] + $this->_sections['fen']['step'];
$this->_sections['fen']['first']      = ($this->_sections['fen']['iteration'] == 1);
$this->_sections['fen']['last']       = ($this->_sections['fen']['iteration'] == $this->_sections['fen']['total']);
?>
<a href=list.php?gy_class=<?php echo $this->_tpl_vars['small_fenlei'][$this->_sections['fen']['index']]['id']; ?>
><?php echo $this->_tpl_vars['small_fenlei'][$this->_sections['fen']['index']]['name']; ?>
</a>
<?php endfor; endif; ?>
<br>


<?php unset($this->_sections['list']);
$this->_sections['list']['name'] = 'list';
$this->_sections['list']['loop'] = is_array($_loop=$this->_tpl_vars['gy_list']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['list']['show'] = true;
$this->_sections['list']['max'] = $this->_sections['list']['loop'];
$this->_sections['list']['step'] = 1;
$this->_sections['list']['start'] = $this->_sections['list']['step'] > 0 ? 0 : $this->_sections['list']['loop']-1;
if ($this->_sections['list']['show']) {
    $this->_sections['list']['total'] = $this->_sections['list']['loop'];
    if ($this->_sections['list']['total'] == 0)
        $this->_sections['list']['show'] = false;
} else
    $this->_sections['list']['total'] = 0;
if ($this->_sections['list']['show']):

            for ($this->_sections['list']['index'] = $this->_sections['list']['start'], $this->_sections['list']['iteration'] = 1;
                 $this->_sections['list']['iteration'] <= $this->_sections['list']['total'];
                 $this->_sections['list']['index'] += $this->_sections['list']['step'], $this->_sections['list']['iteration']++):
$this->_sections['list']['rownum'] = $this->_sections['list']['iteration'];
$this->_sections['list']['index_prev'] = $this->_sections['list']['index'] - $this->_sections['list']['step'];
$this->_sections['list']['index_next'] = $this->_sections['list']['index'] + $this->_sections['list']['step'];
$this->_sections['list']['first']      = ($this->_sections['list']['iteration'] == 1);
$this->_sections['list']['last']       = ($this->_sections['list']['iteration'] == $this->_sections['list']['total']);
?>
<?php echo $this->_tpl_vars['gy_list'][$this->_sections['list']['index']]['user']; ?>
/<a href=detail.php?id=<?php echo $this->_tpl_vars['gy_list'][$this->_sections['list']['index']]['id']; ?>
><?php echo $this->_tpl_vars['gy_list'][$this->_sections['list']['index']]['title']; ?>
</a>/<?php echo $this->_tpl_vars['gy_list'][$this->_sections['list']['index']]['class']; ?>
<br>
<?php endfor; endif; ?>

<?php echo $this->_tpl_vars['ROOT']; ?>